package com.powernode.mapper;

import com.powernode.constant.AuthConstants;
import com.powernode.domain.LoginSysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * <p>
 * 系统用户 Mapper 接口
 * </p>
 *
 * @author 付作巍
 * @since 2024-08-14
 */
@Mapper
public interface LoginSysUserMapper extends BaseMapper<LoginSysUser> {
    /**
     * 根据用户标识查询用户权限集合
     * @param userId 用户id
     * @return
     */
    Set<String> selectPermsByUserId(Long userId);
}
